
#pragma once

#include <guichan.hpp>

class logonWndListener_t : public gcn::ActionListener
{
	bool action(const gcn::ActionEvent& actionEvent);
};

class logonWnd_t
{
public:
	static void init(gcn::Gui* gui);
	static void release();

public:
	static gcn::Gui* gui; 
	static gcn::Button* btnOK; 
	static gcn::Button* btnCancel;
	static gcn::Button* btnRegister;
	static gcn::Button* btnTeam;

	static gcn::TextField* tfAccount;
	static gcn::TextField* tfPassword;

	static gcn::Icon* backIcon;
	static gcn::Image* backImage;

	static gcn::Label* lblAccount;
	static gcn::Label* lblPassword;

	static logonWndListener_t* listener;
	static gcn::Window* wnd;
	static gcn::Window* logonWnd;

	static gcn::Icon* makerIcon;
	static gcn::Image* makerImage;

	static gcn::Label* lblMaker;
};
